package adv5;

import java.io.*;

public class FileWriter1 {

	public static void main(String[] args) {
		try {
			Writer w = new FileWriter("E:/Temp/9-21.txt");
			w.write('A');
			w.write(21016);
			w.write("We change lives");
			w.write("教育改变生活".toCharArray());
			w.close();
		} catch (IOException e) {
			// TODO 自动生成的 catch 块
			e.printStackTrace();
		}

	}

}
